﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;

namespace DAO
{
    public class DataProvider
    {
        private static string connectionString = @"Data Source=HOANGLIEM-PC;Initial Catalog=LTHD;Integrated Security=True";
            // @"Server=.\SQL2005EXPRESS;Database=LTHD;Trusted_Connection=True;";
            //"Data Source=TIENLE-HP\SQL2005EXPRESS;Initial Catalog=LTHD;Integrated Security=True";
            //@"Data Source=.\SQLEXPRESS;Initial Catalog=LTHD;Integrated Security=True;";
  
        public static SqlConnection Connect()
        {
            SqlConnection connect = new SqlConnection(connectionString);
            connect.Open();
            return connect;
        }
    }
}
